Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Parsing large strings
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Functionality
Platform: Windows 2003 server
Release: 8.0.1
Reproducible: Always

Hello!

I have a perfomance problem with Mid$ when i parse large strings. With a loop i run through large strings with round about 200000 characters.

Example:
For i=1 To Len(string)
...
loop

This runs very quick. But if i add an if-statement with Mid$ for every step, it gets very slow.

Example:
For i=1 To Len(string)
If Mid$(string,i,5) = "Hello" Then
substring = right$(string,i,len(string))
end if
loop

Does anyone have a better idea to parse the string?

Thanks for any suggestions!

Bernd


Feedback number WEBB7DPBQE created by ~Hank Rewever on 04/14/2008


Parsing large strings (~Hank Rewever 14.Apr.08)
. . Use Split (~Judy Ektumizen... 14.Apr.08)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS